package com.kt.emall.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kt.common.utils.PageUtils;
import com.kt.emall.member.entity.MemberReceiveAddressEntity;

import java.util.List;
import java.util.Map;

/**
 * 会员收货地址
 *
 * @author KamTeng
 * @email kamteng1998@qq.com
 * @date 2021-06-14 21:12:13
 */
public interface MemberReceiveAddressService extends IService<MemberReceiveAddressEntity> {

    /**
     * 分页
     * @param params
     * @return
     */
    PageUtils queryPage(Map<String, Object> params);

    /**
     * 根据会员id获取地址
     * @param memberId
     * @return
     */
    List<MemberReceiveAddressEntity> getAddress(Long memberId);
}

